<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">序号:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sort" class="form-control form-control" name="row[sort]" type="number" value="{$count}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control form-control" name="row[title]" type="text" value="你是否喜欢职业：">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cate_1')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[cate_1]',$cate_1,3,['class'=>'form-control'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cate_2')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[cate_2]',$cate_2,'c',['class'=>'form-control'])}
        </div>
    </div>
    <!--div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('A')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-a" class="form-control form-control" name="row[a]" type="text" value="a">
        </div>
    </div>
    <div-- class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('B')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-b" class="form-control form-control" name="row[b]" type="text" value="b">
        </div>
    </div-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
